home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr35
/
gaplok11.zip
/
GAPLOCK.DOC
< prev
next >
Wrap
Text File
|
1993-05-18
|
6KB
|
161 lines
═══════════════════════════════════════════════════════════════════════════
GAPLOCK Version 1.1
Multi-Node BBS Event Utility
Written by:
Jerry Liddle
119 Edward Drive
Swedesboro, New Jersey 08085
The Beckett BBS
(609) 467-3898 USR 14.4 Dual Standard
(609) 467-8612 USR 16.8 Dual Standard
(609) 467-0515 USR 14.4 V.32bis
═══════════════════════════════════════════════════════════════════════════
Warranty
This product is provided "as is" without warranty of any kind. The entire
risk as to the results and performance of the program is assumed by you.
Futhermore, the author does not warrant, guarantee, or make any other
representations regarding the use of, or the results of the use of the
program, and you rely on the program and results solely at your own
risk. The author cannot and will not accept responsibility for system
damage, loss of profit, or any other special, consequential or incidental
damages resulting from the use or inability to use this product.
Overview of GAPLOCK
──────────────────────────────────────────────────────────────────────────
Since I run a multi-node BBS, and have events that require all nodes
to be down, I wrote GAPLOCK to keep my other nodes busy at the DOS prompt
while one was performing board maintenance. You will need 3 config files
(see samples included) for complete operation of GAPLOCK. Mine are named
LOCK.CFG
CHECK.CFG
UNLOCK.CFG
You may name them any valid DOS name.
I keep a copy of all config files in each nodes directory. GAPLOCK.EXE is in
a pathed directory. Actually, the nodes checking for a LOCK condition only
need CHECK.CFG
GAPLOCK LOCK.CFG will create a data file (gaplock.dat) where you specify
in the configfile for the other nodes to check for a lock condition during
an event.
Command Line Parameter for GAPLOCK is:
GAPLOCK ConfigFile
EXAMPLE ConfigFile : GAPLOCK1.CFG (The configfile can be named any valid
DOS Name)
---------------------------------------------------------------------------
The Beckett BBS
0000
lock
f:\work
300
---------------------------------------------------------------------------
Line 1 : Your BBS Name
Line 2 : Registration Number
Line 3 : Gaplock Function (Must be either LOCK, CHECK, or UNLOCK)
Line 4 : Path where Data File (GAPLOCK.DAT) is to be Read/Written
Line 5 : Delay before beginning a check for a Lock condition.
---------------------------------------------------------------------------
This is the way that I use GAPLOCK. On the node that will be doing the
actual maintenance, the following is used in a ConfigFile named LOCK.CFG.
GAPLOCK lock.cfg is the first item executed in the event batch file.
Contents of lock.cfg
----------------------
The Beckett BBS
0000
lock
f:\work
300
-----------------------
This will create the GAPLOCK.DAT file on f:\work, and it will contain
the word LOCK.
The last line in the EVENT.BAT file should contain the following.
GAPLOCK unlock.cfg
Contents of unlock.cfg
The Beckett BBS
0000
unlock
f:\work
300
This will remove the LOCK condition in GAPLOCK.DAT indicating to the other
nodes that the event is finished.
-------------------------------------------------------------------------
In each of my other nodes's EVENT.BAT files I have the following as the
only command for that that event batch file.
GAPLOCK check.cfg
Contents of CHECK.CFG
-----------------------
The Beckett BBS
0000
check
f:\work
300
-----------------------
When this event is executed, GAPLOCK waits for 5 minutes (just incase
the node performing maintenance didn't get started on time. After 5 minutes
GAPLOCK will begin checking f:\work\gaplock.dat for a LOCK condition.
GAPLOCK will continue checking GAPLOCK.DAT every 5 seconds until the LOCK
condition is removed by the node performing maintenance.
Files needed for GAPLOCK Operation
The only file needed for GAPLOCK to operate is GAPLOCK.EXE & 3 config files
It creates it's own data file.
One other note:
The Delay screen can be aborted by pressing Any Key.
GAPLOCK can be aborted by pressing the ESC Key
GAPLOCK can be tested from the command line, if you want to see
how it works...
If you will be using one copy of GAPLOCK.EXE be sure to make the
file Read Only...
──────────────────────────────────────────────────────────────────────────
If you have any doubt about the integrity of the files contained in this
Archive, feel free to call my BBS in Swedesboro, New Jersey and download
the latest version. The Beckett BBS, (609)467-3898/8612/0515
Registration - Support the Shareware Concept...
──────────────────────────────────────────────────────────────────────────
GAPPLOCK is not crippled. However, it can be annoying if not registered.
It will beep every 5 seconds while checking for a LOCK condition.
If you find it useful, Please register GAPLOCK.
Registration is $15.00
Complete and mail the enclosed registration with check or money order
to the address mentiond at the beginning of this file. If you desire, you
may register online using Visa or Mastercard.
Thanks for your support!